package com.itheima.mArray;

import java.util.Random;

/*
   抽奖
 */
public class ArrayWork08 {
    public static void main(String[] args) {
        int[] arr = {888,666,2,1000,10000};
        Random r = new Random();
        int index = 0;
        int a = arr.length;
        for (int i = 0; i < arr.length; i++) {
            index = r.nextInt(a);
            for(int j =0;j<a;j++){
                if(index == j){

                }
            }
        }
    }
}
